package demo.factory;

import demo.lifecycle.AccountService;
import demo.scope.VODService;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: neerajY
 * Date: 8/22/13
 * Time: 4:00 AM
 * To change this template use File | Settings | File Templates.
 */
public class App {

    public static void main(String args[]) {

        ApplicationContext context = new ClassPathXmlApplicationContext(
                "application-context.xml");

        context.getBean("userService");
        context.getBean("loginService");


    }

}
